package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_contract_money
 * 
 * @author ruoyi
 * @date 2022-01-20
 */
public class SysContractMoney extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String itemNo;

    /** 合同签定日期 */
    @Excel(name = "合同签定日期")
    private String contractTime;

    /** 合同说明 */
    @Excel(name = "合同说明")
    private String contractRemark;

    /** $column.columnComment */
    @Excel(name = "合同说明")
    private String fileName;

    /** $column.columnComment */
    @Excel(name = "合同说明")
    private String url;

    /** $column.columnComment */
    @Excel(name = "合同说明")
    private String onlyName;

    /** 预付款支付金额（万元） */
    @Excel(name = "预付款支付金额", readConverterExp = "万=元")
    private String advanceMoney;

    /** 预付款支付日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预付款支付日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date advanceTime;

    /** 预付款说明 */
    @Excel(name = "预付款说明")
    private String advanceRemark;

    /** 图片名称 */
    @Excel(name = "图片名称")
    private String pFileName;

    /** 图片url */
    @Excel(name = "图片url")
    private String pUrl;

    /** 图片唯一标识 */
    @Excel(name = "图片唯一标识")
    private String pOnlyName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setItemNo(String itemNo) 
    {
        this.itemNo = itemNo;
    }

    public String getItemNo() 
    {
        return itemNo;
    }
    public void setContractTime(String contractTime) 
    {
        this.contractTime = contractTime;
    }

    public String getContractTime() 
    {
        return contractTime;
    }
    public void setContractRemark(String contractRemark) 
    {
        this.contractRemark = contractRemark;
    }

    public String getContractRemark() 
    {
        return contractRemark;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setOnlyName(String onlyName) 
    {
        this.onlyName = onlyName;
    }

    public String getOnlyName() 
    {
        return onlyName;
    }
    public void setAdvanceMoney(String advanceMoney) 
    {
        this.advanceMoney = advanceMoney;
    }

    public String getAdvanceMoney() 
    {
        return advanceMoney;
    }
    public void setAdvanceTime(Date advanceTime) 
    {
        this.advanceTime = advanceTime;
    }

    public Date getAdvanceTime() 
    {
        return advanceTime;
    }
    public void setAdvanceRemark(String advanceRemark) 
    {
        this.advanceRemark = advanceRemark;
    }

    public String getAdvanceRemark() 
    {
        return advanceRemark;
    }
    public void setpFileName(String pFileName) 
    {
        this.pFileName = pFileName;
    }

    public String getpFileName() 
    {
        return pFileName;
    }
    public void setpUrl(String pUrl) 
    {
        this.pUrl = pUrl;
    }

    public String getpUrl() 
    {
        return pUrl;
    }
    public void setpOnlyName(String pOnlyName) 
    {
        this.pOnlyName = pOnlyName;
    }

    public String getpOnlyName() 
    {
        return pOnlyName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemNo", getItemNo())
            .append("contractTime", getContractTime())
            .append("contractRemark", getContractRemark())
            .append("fileName", getFileName())
            .append("url", getUrl())
            .append("onlyName", getOnlyName())
            .append("advanceMoney", getAdvanceMoney())
            .append("advanceTime", getAdvanceTime())
            .append("advanceRemark", getAdvanceRemark())
            .append("pFileName", getpFileName())
            .append("pUrl", getpUrl())
            .append("pOnlyName", getpOnlyName())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
